TELCountDNs
Counts the directory numbers associated with a telephone terminal.
pascal short TELCountDNs ( TELHandle hTEL, short dnType, Boolean physical);
hTEL
- A handle to a telephone record.
dnType
- A type of directory number. See "Directory Number Types" on page 3-6 for a description of the available directory number types.
physical
- A Boolean value that determines whether
TELCountDNs
counts all directory numbers (true
) or only those to which commands can be sent (false
).- function result
- The number of directory numbers of the specified type currently associated with the terminal.
DESCRIPTION
TheTELCountDNs
function returns, as its function result, the number of directory numbers associated with the terminal specified by thehTEL
parameter that have the type specified by thednType
parameter. If thephysical
parameter istrue
,TELCountDNs
counts all directory numbers associated with that terminal, even those that are currently inaccessible (as indicated by thednAccessible
field of the directory number structure). Ifphysical
isfalse
,TELCountDNs
counts only those directory number that are currently accessible.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help